package com.ruoyi.costumeShop.domain;

import java.math.BigDecimal;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 订单信息对象 costume_sale_order
 * 
 * @author ruoyi
 * @date 2022-05-10
 */
public class CostumeSaleOrder extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 销售单ID */
    private Long saleOrderId;

    /** 销售单编号 */
    @Excel(name = "销售单编号")
    private String saleOrderNo;

    /** 销售总金额 */
    @Excel(name = "销售总金额")
    private BigDecimal saleTotalAmount;

    /** 销售总数量 */
    @Excel(name = "销售总数量")
    private Long saleTotalQuantity;

    /** 销售时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "销售时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date saleTime;

    /** 支付状态 */
    @Excel(name = "支付状态")
    private Long payStatus;

    /** 支付方式 */
    @Excel(name = "支付方式")
    private String payMethod;

    /** 收银员id */
    @Excel(name = "收银员id")
    private Long salePersonId;

    public void setSaleOrderId(Long saleOrderId) 
    {
        this.saleOrderId = saleOrderId;
    }

    public Long getSaleOrderId() 
    {
        return saleOrderId;
    }
    public void setSaleOrderNo(String saleOrderNo) 
    {
        this.saleOrderNo = saleOrderNo;
    }

    public String getSaleOrderNo() 
    {
        return saleOrderNo;
    }
    public void setSaleTotalAmount(BigDecimal saleTotalAmount) 
    {
        this.saleTotalAmount = saleTotalAmount;
    }

    public BigDecimal getSaleTotalAmount() 
    {
        return saleTotalAmount;
    }
    public void setSaleTotalQuantity(Long saleTotalQuantity) 
    {
        this.saleTotalQuantity = saleTotalQuantity;
    }

    public Long getSaleTotalQuantity() 
    {
        return saleTotalQuantity;
    }
    public void setSaleTime(Date saleTime) 
    {
        this.saleTime = saleTime;
    }

    public Date getSaleTime() 
    {
        return saleTime;
    }
    public void setPayStatus(Long payStatus) 
    {
        this.payStatus = payStatus;
    }

    public Long getPayStatus() 
    {
        return payStatus;
    }
    public void setPayMethod(String payMethod) 
    {
        this.payMethod = payMethod;
    }

    public String getPayMethod() 
    {
        return payMethod;
    }
    public void setSalePersonId(Long salePersonId) 
    {
        this.salePersonId = salePersonId;
    }

    public Long getSalePersonId() 
    {
        return salePersonId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("saleOrderId", getSaleOrderId())
            .append("saleOrderNo", getSaleOrderNo())
            .append("saleTotalAmount", getSaleTotalAmount())
            .append("saleTotalQuantity", getSaleTotalQuantity())
            .append("saleTime", getSaleTime())
            .append("payStatus", getPayStatus())
            .append("payMethod", getPayMethod())
            .append("salePersonId", getSalePersonId())
            .toString();
    }
}
